package com.pritive.mapper;

import com.pritive.bean.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {

    @Select("select * from user where name like concat{'%',#{username},'%'} ORDER BY search_count DESC LIMIT 0,4")
    public abstract List<User> selectLike(String username);
}
